﻿using Inovout.Security;
using System.Collections.Generic;

namespace Inovout.Membership.Security
{
    public partial class MembershipUser : IMembershipUser
    {
        public MembershipUser(Inovout.Membership.Domain.Membership Membership, DynamicPasswordCredential Credential)
        {
            this.Membership = Membership;
            this.Credentials.Add(Credential);
        }
        public virtual int Identity { get { return Membership.Id; } }

    }
}
